package com.yidu.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.yidu.dao.LockerAdminMapper;
import com.yidu.model.LockerAdmin;
import com.yidu.service.AdminService;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author roots
 * @since 2018-10-20
 */
@Service
public class AdminServiceImpl implements AdminService {

	@Resource
	private LockerAdminMapper mapper;
	/*
	@Override
	public List<LockerAdmin> findByName(LockerAdmin admin) {
		return mapper.findByName(admin);
	}*/

	@Override
	public LockerAdmin queryNameOrPwd(LockerAdmin admin) {
		return mapper.queryNameOrPwd(admin);
	}
}
